Skip to content

[AssetMapper] Adding info about deleting compiled assets #19618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

ThomasLandauer
Copy link
Contributor

Page: https://symfony.com/doc/6.4/frontend/asset_mapper.html#serving-assets-in-dev-vs-prod

First: I'm not sure if this is really true for any (local server) configuration - I took the info from asset-map:compiles warning message (which I'm trying to improve in symfony/symfony#54106 BTW)

The message I'm trying to get across: I've you're doing this on your dev machine (as part of the deploy process), you should set up a process that deletes those files afterwards! Maybe this should be repeated at https://symfony.com/doc/6.4/frontend/asset_mapper.html#deploying-with-the-assetmapper-component again? Or should those two headings even be merged?

@javiereguiluz javiereguiluz merged commit b8f15f5 into symfony:6.4 Jul 24, 2024
3 checks passed
@javiereguiluz
Copy link
Member

Thanks Thomas.

@ThomasLandauer ThomasLandauer deleted the patch-26 branch July 24, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants